package models;

import java.util.Comparator;


public class OrderIdeaByCreatorContribution implements Comparator<Idea>{

	@Override
	public int compare(Idea o1, Idea o2) {
		
		return new Integer(o1.creator.contribution).compareTo(new Integer(o2.creator.contribution));
	}
	

}
